package com.mms.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.mms.dao.IRoleResourceDao;
import com.mms.pojo.RoleResource;
import com.mms.service.IRoleResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class RoleResourceServiceImpl extends ServiceImpl<IRoleResourceDao, RoleResource> implements IRoleResourceService {

    @Autowired
    IRoleResourceDao roleResourceDao;

    /**
     * 获取角色资源表
     *
     * @return
     */
    public List<Map<String, Object>> getRoleResource() {
        return roleResourceDao.getRoleResource();
    }

}
